match length packet

This command defines the packet length to match on the specified match-map. Use the no form of this command to remove a match packet length.

Syntax

match length packet <min packet length> <max packet length>

Command

Description

min packet length

Defines the minimum packet length in bytes to match.

max packet length

Defines the maximum packet length in bytes to match.

Default

NA

Command Mode

Privileged User

Examples:

This example configures the match-map to match traffic with packet length between 40 to 150 bytes.

(conf-m-map)# match length packet 40 150